//-----------------------------------------------------------------------
// <copyright file="BannerLocationBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class BannerLocationBase
	{
		
		#region Variable Declarations
		public static string _Table = "BannerLocation";
		private long				bannerLocationId = 0;
		private long				catLocationId = 0;
		private long				sizeID = 0;
		private string				title = string.Empty;
		private string				description = string.Empty;
		private long				price1 = 0;
		private long				price2 = 0;
		private int				unitPriceId = 0;
		private int				currentQuantity = 0;
		private int				duration = 0;
		private int				startusId = 0;
		private long				order = 0;
		private bool				enable = false;
		#endregion
		
		#region Constructors
		public BannerLocationBase() {}
		
		public BannerLocationBase (
			long bannerLocationId,
			long catLocationId,
			long sizeID,
			string title,
			string description,
			long price1,
			long price2,
			int unitPriceId,
			int currentQuantity,
			int duration,
			int startusId,
			long order,
			bool enable)
		
		{
			this.bannerLocationId = bannerLocationId;
			this.catLocationId = catLocationId;
			this.sizeID = sizeID;
			this.title = title;
			this.description = description;
			this.price1 = price1;
			this.price2 = price2;
			this.unitPriceId = unitPriceId;
			this.currentQuantity = currentQuantity;
			this.duration = duration;
			this.startusId = startusId;
			this.order = order;
			this.enable = enable;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long BannerLocationId
		{
			get { return bannerLocationId; }
			set { bannerLocationId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatLocationId
		{
			get { return catLocationId; }
			set { catLocationId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long SizeID
		{
			get { return sizeID; }
			set { sizeID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Price1
		{
			get { return price1; }
			set { price1 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Price2
		{
			get { return price2; }
			set { price2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UnitPriceId
		{
			get { return unitPriceId; }
			set { unitPriceId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CurrentQuantity
		{
			get { return currentQuantity; }
			set { currentQuantity = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Duration
		{
			get { return duration; }
			set { duration = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StartusId
		{
			get { return startusId; }
			set { startusId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum BannerLocationColumns
	{
		BannerLocationId,
		CatLocationId,
		SizeID,
		Title,
		Description,
		Price1,
		Price2,
		UnitPriceId,
		CurrentQuantity,
		Duration,
		StartusId,
		Order,
		Enable
	}//End enum
}